<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="${base}/">
		<#include "/sys/common/sub_include.ftl">
	    <!-- Business javascript -->
	    <script src="resources/js/sys/role/role_input.js"></script>    
	
	</head>
	<body>
		<div class="container">
			<div class="col-md-1">
			</div>
			<div class="col-md-10">
				<div class="panel-input" >
		                        <div class="alert alert-warning alert-dismissible hide" role="alert">
								  <button type="button" class="close" data-dismiss="alert" aria-label="Close" >
								  	<span aria-hidden="true">&times;</span>
								  </button>
	                        	<#if role.id??>
								  <strong>注意：</strong><span>密码留空则保持原密码</span>
								</#if>
								</div>
	                            <form method="get" class="form-horizontal" id="form0">
	                            	<input type="hidden" class="form-control" name="id" value="${role.id! }" />
	                                <div class="form-group">
	                                	<label class="col-sm-2 control-label text-muted">名称</label>
										<div class="col-sm-10"><input type="text" class="form-control" name="name" value="${role.name! }" required maxlength="128" /></div>
	                                </div>
	                                <div class="form-group">
	                                    <div class="col-sm-4 col-sm-offset-2">
	                                        <button class="btn btn-white" type="reset">撤销</button>
	                                        <button class="btn btn-primary" type="submit">提交</button>
	                                    </div>
	                                </div>
	                            </form>
				</div>
			</div>
			<div class="col-md-1">
			</div>
		<div>
	</body>
</html>